import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 全局引入vant组件库
// import Vant from "vant";

import {
  Tabbar,
  TabbarItem,
  NavBar,
  Grid,
  GridItem,
  Swipe,
  SwipeItem,
  List,
  Search,
  Card,
} from "vant";

import "amfe-flexible";
import "vant/lib/index.css";

createApp(App)
  .use(Tabbar)
  .use(TabbarItem)
  .use(NavBar)
  .use(Grid)
  .use(GridItem)
  .use(Swipe)
  .use(SwipeItem)
  .use(List)
  .use(Search)
  .use(Card)
  .use(store)
  .use(router)
  .mount("#app");
